<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <link rel="stylesheet" href="css/base.css">
  <link rel="stylesheet" href="css/richScan.css">
  <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1, user-scalable=no">
</head>
<body style="background:#F6F4F4;">
<div class="header-box">
  <p id="success_title">借阅成功</p>
</div>
<div class="RS">
  <div class="RS_box" id="RS_box">
    <img src="img/scanRead/yuyuechenggong@2x.png">
    <p id="p1">您已成功借阅绘本，请及时阅读，爱书惜书  及时还书！如在4天内实地归还绘本，还可以获得50鱼币的奖励哦；如延期，则延期费用为0.2元/天，或扣除20鱼币/天。</p>
    <p id="p2" style="margin-top:0;"></p>
    <p id="p3" style="text-align:center;margin-top:0.6rem;display:none;">
      <img src="" style="width:0.31rem;height:0.31rem;">
      <span style="font-size:0.26rem;"></span>
    </p>
  </div>
</div>
<div class="footer_kb"></div>
<div class="footer_kb1"></div>
<div class="back_index">
  <div class="back_index_box" id="back_index_box">
    <a href="index.html">
      返回首页
    </a>
  </div>
</div>
</body>
<script src="js/jquery.js"></script>
<script src="js/base.js"></script>
<script>
  function deff(ti,sp1,sp2,src,sp3) {
    $("#success_title").html(ti);
    $("#p1").html(sp1);
    $("#p2").html(sp2);
    $("#p3>span").html(sp3);
    $("#p3>img").attr("src",src)
  }
  var args=arg();
  if (args.successid==0 ){
    deff("借阅成功","您已成功借阅绘本，请及时阅读，爱书惜书  及时还书！如在4天内实地归还绘本，还可以获得50鱼币的奖励哦；如延期，则延期费用为0.2元/天，或扣除20鱼币/天。","","","");
  } else if (args.successid==1 ) {
    deff("续借成功","您已成功续借绘本，请及时阅读，如在4天内实地归还绘本，还可以获得鱼币奖励哦！","","","");
    $("body").css("background","#EBE9E9");
    $("#p1").css("text-align","left");
  } else if (args.successid==2 ) {
    $("body").css("background","#EBE9E9");
    $("#p1").css("text-align","left");
    $("#p2").css("text-align","left");
    $("#p3").css("display","block");
    deff("归还成功","您已成功申请归还绘本，请在2天之内到达您所选还书地点归还绘本，在此期间不计算延期费用；如未在2天之内归还，将视为逾期行为，并计算延期费用","延期费用计算规则：0.2元/天，即没延期2+1天将收取延期费用0.2元，或者扣除鱼币20枚，延期2+2天将收取延期费用0.4元，或扣除鱼币40枚，如此类推......如果您在借阅3天内归还，每本绘本将赠送50枚鱼币。","img/scanRead/tishi@2x.png","小鱼币可以用来借书和买书哦！");
  } else if (args.successid==3) {
    deff("预约成功","您已成功预约绘本，请在2天之内到达您所选借阅地点借取绘本；如未在2天内借取，您需要重新预约借阅","","","");
  }
</script>
</html>